package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.browsing.request.BrowsingSearchRequest;
import com.fram.bean.api.browsing.response.BrowsingSearchResponse;
import com.fram.entity.UserBrowsingRecords;

public interface UserBrowsingRecordsMapper {
	int deleteByPrimaryKey(Long id);

	int insert(UserBrowsingRecords record);

	int insertSelective(UserBrowsingRecords record);

	UserBrowsingRecords selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(UserBrowsingRecords record);

	int updateByPrimaryKey(UserBrowsingRecords record);

	/** 新增或者修改 **/
	int insertOrUpdate(UserBrowsingRecords record);

	/** 查询浏览记录 **/
	List<BrowsingSearchResponse> select(BrowsingSearchRequest request);
}